package com.example.ssm.service;

import com.example.ssm.entity.Bill;
import com.example.ssm.entity.Menu;

import java.io.IOException;
import java.util.List;

public interface MenuService {
    boolean insertMennu(Menu menu) throws IOException;
    List<Menu> selectMenuByShopName(String shop_name) throws IOException;
    boolean delMenu(Menu menu) throws IOException;
    List<Menu>  selectAllMenu() throws IOException;

    List<Menu> selectMenuById(Bill bill) throws IOException;



    List<Menu> selectTypeshop_name(Menu menu) throws IOException;//Typeshop_name
    List<Menu> selectTypeName(Menu menu) throws IOException;//TypeName
    List<Menu> selectTypeprice(Menu menu) throws IOException;//Typeprice
    List<Menu> selectTypepshop_namename(Menu menu) throws IOException;//Typepshop_namename
    List<Menu> selectTypeppricename(Menu menu) throws IOException;//Typeppricename
    List<Menu> selectTypeppriceshop_name(Menu menu) throws IOException;//Typeppriceshop_name
    List<Menu> selectType(Menu menu) throws IOException;


}
